home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / basic / CIAs_in_Blitz.readme < prev    next >
Text File  |  1999-07-01  |  1KB  |  33 lines

  1. Short:    Example of using CIA interrupts in Blitz
  2. Author:   anton@ww.co.nz (Anton Reinauer) 
  3. Uploader: anton@ww.co.nz (Anton Reinauer)
  4. Version:  1.0
  5. Type:     dev/basic
  6. Requires: Blitz Basic2
  7.  
  8.   The Amiga has two CIA (complex interface adaptor) chips- CIA-A, and CIA-B.
  9. This code can access either of the 2 general purpose Timers on these chips.
  10. These timers can execute a section of code a set number of times a second
  11. (you can change how many times a second they fire), independant of your
  12. main code. This code is based on the CIA_Interval.c code on the developer
  13. CD. You can set up a variable from your main program to be updated by the
  14. Timer, or maybe set the interrupt to signal your main task after a set
  15. period of time.
  16.  
  17.   The CIA resource is a system legal way of allocating the timers, so your
  18. program can check if a timer is being used by another task, if it isn't
  19. then it can allocate it for itself.
  20.   
  21.  
  22.  
  23. ============================= Archive contents =============================
  24.  
  25. Original  Packed Ratio    Date     Time    Name
  26. -------- ------- ----- --------- --------  -------------
  27.     8038    2254 71.9% 13-Jun-99 20:57:18 +Cia-Find_Owners.asc
  28.     6967    2158 69.0% 13-Jun-99 20:57:36 +Cia-OS_Start.asc
  29.     7096    2157 69.6% 13-Jun-99 21:09:08 +Cia.asc
  30.     5264    2282 56.6% 13-Jun-99 21:33:00 +Cia.readme
  31. -------- ------- ----- --------- --------
  32.    27365    8851 67.6% 13-Jun-99 19:05:40   4 files
  33.